/* 引入的样式 */
@import './modules/reset.scss';
@import './modules/header.scss';
@import './modules/footer.scss';

.main{
    min-width: 1283px;
    background-color: #f5f5f5;
    
    height: auto;
    &-wrap{
        background-color: #fff;
        width: 1283px;
        margin: 0 auto;
        height: auto;
        &-title{
            background-color: #f5f5f5;
            height: 50px;
            line-height: 50px;
            font-size: 14px;
            color: #999;
            width: 100%;
            display: flex;
            &-sp1{
                
                left: 0;
                & a{
                    color: #3a3f4a;
                    cursor: pointer;
                    &:hover{
                        color: #ff5556;
                    }
                }
            }
            

        }
        &-link{
            
            padding: 12px 50px 0;
            background-color: #fff;
            overflow: hidden;
            & a{
                color:#999;
            }
            &-top{
                width: 100%;
                padding: 11px 0;
                max-height: 90px;
                border-bottom: 1px solid #eee;
                height: 53px;
                & dl{
                    width: 1115px;
                    height: auto;
                    font-size: 14px;
                    & dt{
                        float: left;
                        line-height: 53px;
                    }
                    & dd{
                        float: left;
                        line-height: 53px;
                        padding: 0 20px;
                        color: #666;
                        cursor: pointer;
                    }
                }
            }
            &-down{
                width: 100%;
                max-height: 90px;
                height: 43px;
                padding-top: 10px;
                font-size: 14px;
                line-height: 53px;
                color:#999;
                &-left{
                    float: left;
                    padding-left: 0;
                    & i{
                        display: inline-block;
                        display: inline-block;
                        width: 8px;
                        height: 12px;
                        background-position: -79px -64px;
                        vertical-align: middle;
                        margin-left: 3px;
                    }
                    & dt{
                        float: left;
                    }
                    & #d1{
                        padding-left: 0;
                    }
                    & dl{
                        float: left;
                        padding: 0 20px;
                        color: #999;
                        line-height: 30px;
                        cursor: pointer;
                        float: left;
                    }
                }
            }
        }
        & .kongge{
            background-color: #f5f5f5;
            height: 10px;
            min-width: 1283px;
        }
        &-shoplist{
            padding-top: 40px;
            padding-bottom: 20px;
            background: #fff;
            
            &-ul{
                margin-left: 40px;
                width: 1208px;
                height: auto;
                min-height: 356px;
                overflow: hidden;
                padding-top: 5px;
                display: flex;
                align-content: space-around;
                flex-wrap: wrap;
                & li{
                    margin: 0 10px 20px;
                    float: left;
                    width: 280px;
                    height: 356px;
                    border: 1px solid #eee;
                    position: relative;
                    transition: all .2s linear;
                    
                    &:hover{
                        box-shadow: 0px 8px 17px #d6d6d6;
                        margin-top: -5px;;
                    }
                    & .i-mark{
                        position: absolute;
                        top: -1px;
                        right: 20px;
                        padding: 0 10px 7px;
                        width: 28px;
                        height: 40px;
                        background-position: -279px -85px;
                        font-size: 14px;
                        color: #333;
                        text-align: center;
                        font-weight: bold;
                        & .mark-txt{
                            text-align: center;
                            line-height: 40px;
                        }
                    }
                    & .shop-info{
                        margin-top: 18px;
                        text-align: center;
                        & p{
                            line-height: 24px;
                            color: #444;
                            font-size: 14px;

                        }
                        & .shop-pri{
                            line-height: 25px;
                            font-size: 16px;
                            color: #f7545f;
                            position: relative;
                            & .jd-money{
                                position: absolute;
                                top: 2px;
                                right: 5px;
                                padding: 0;
                                width: 50px;
                                font-size: 12px;
                                line-height: 20px;
                                color: #fa585a;
                                text-align: center;
                                border-radius: 2px;
                            }
                        }
                    }
                }
            }
        }
    }

}